package com.hyd.service;

import java.util.List;

import com.hyd.daoEx.model.AgeParamEx;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.base.mybatis.plus.EntityWrapper;

import com.hyd.dao.AgeParamMapper;
import com.hyd.dao.model.AgeParam;
import com.hyd.dao.model.AgeParamExample;

@Service
public class AgeParamService {
	@Autowired
	private AgeParamMapper ageParamMapper;

	public int countByExample(AgeParamExample example) {
		return this.ageParamMapper.countByExample(example);
	}

	public AgeParam selectByPrimaryKey(Integer id) {
		return this.ageParamMapper.selectByPrimaryKey(id);
	}

	public List<AgeParam> selectByExample(AgeParamExample example) {
		return this.ageParamMapper.selectByExample(example);
	}

	public List<AgeParam> selectByExampleWithBLOBs(AgeParamExample example) {
		return this.ageParamMapper.selectByExampleWithBLOBs(example);
	}

	public int deleteByPrimaryKey(Integer id) {
		return this.ageParamMapper.deleteByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(AgeParam record) {
		return this.ageParamMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(AgeParam record) {
		return this.ageParamMapper.updateByPrimaryKey(record);
	}

	public int deleteByExample(AgeParamExample example) {
		return this.ageParamMapper.deleteByExample(example);
	}

	public int updateByExampleSelective(AgeParam record, AgeParamExample example) {
		return this.ageParamMapper.updateByExampleSelective(record, example);
	}

	public int updateByExample(AgeParam record, AgeParamExample example) {
		return this.ageParamMapper.updateByExample(record, example);
	}

	public int insert(AgeParam record) {
		return this.ageParamMapper.insert(record);
	}

	public int insertSelective(AgeParam record) {
		return this.ageParamMapper.insertSelective(record);
	}

	public List<AgeParam> selectByWrapper(EntityWrapper<AgeParam> wrapper) {
		return this.ageParamMapper.selectByWrapper(wrapper);
	}

}
